package com.kfm.product.service;

import com.kfm.common.domain.entity.ProductImages;

import java.util.List;

public interface ProductImagesService {

    int deleteByPrimaryKey(Integer imageId);

    int insert(ProductImages record);

    int insertSelective(ProductImages record);

    ProductImages selectByPrimaryKey(Integer imageId);

    int updateByPrimaryKeySelective(ProductImages record);

    int updateByPrimaryKey(ProductImages record);

    List<ProductImages> findByProductId(Integer productId);

    int updatePrimary(Integer pid, Integer id);
}
